<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<!--框架必需start-->
	<script type="text/javascript" src="<%=basePath%>libs/js/jquery.js"></script>
	<script type="text/javascript" src="<%=basePath%>libs/js/framework.js"></script>
	<link href="<%=basePath%>libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
	<link rel="stylesheet" type="text/css" id="skin" prePath="<%=basePath%>"/>
	<link rel="stylesheet" type="text/css" id="customSkin"/>
	<!--框架必需end-->
	<!-- 表单验证start -->
	<script src="<%=basePath%>libs/js/form/validationRule.js" type="text/javascript"></script>
	<script src="<%=basePath%>libs/js/form/validation.js" type="text/javascript"></script>
	<!-- 表单验证end -->
	<script language="javascript" type="text/javascript" src="<%=basePath%>js/formsub.js"></script>
</head>
<body>
<div class="box1">
	<form id="form1" name="form1" action="Userrole_add.action" method="post" target="frmright">
		<table cellpadding="0" cellspacing="0" class="tableStyle" transMode="true">
			<tr>
				<td>角色名：</td>
				<td><input type="text" id="name" name="userrole.rolename" class="validate[required]" style="width:200px"/><font color="red">*</font></td>
			</tr>
			<tr>
				<td>角色描述：</td>
				<td><input type="text" name="userrole.remark" style="width:200px"/></td>		
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="button" value="提 交 " onclick="submitform()"/>
					<input type="reset" value="取消" onclick="closeWin()"/>
				</td>
			</tr>
		</table>
	</form>
	<script>
	function closeWin(){
		top.Dialog.close()
	}
	</script>
</div>				
</body>

</html>